package com.tsx.test.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeptNodeDTO {
    private Long id;
    private String name;
    private String leader;
    private Long parentId;
    private List<DeptNodeDTO> children = new ArrayList<>();
}
